package com.xbongbong.paas.help.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import org.elasticsearch.index.query.BoolQueryBuilder;

/**
 * @author: wufeng
 * @date: 2018/11/7 19:56
 * @desrcption: 关联查询、关联数据获取查询query
 */
public interface BoolQueryBuilderService<T> {

    /**
     * 拼装es的检索数据
     * @param boolQueryBuilder
     * @param t
     * @throws XbbException
     */
    Boolean getBoolQueryBuilder(BoolQueryBuilder boolQueryBuilder, T t) throws XbbException;
}
